package com.qidian.mes.sys.mapper;

import com.qidian.mes.pojo.Dict;

import java.util.List;

/**
 * @Author 戴着假发的程序员
 * @Company 起点编程
 * @Description
 * @Time 2024/10/12 上午 10:41
 */
public interface DictMapper {
    int insert(Dict dict);

    List<Dict> selectList(Dict dict);

    Dict selectById(Long dictId);

    int updateById(Dict dict);

    Dict selectByName(String dictName);
    Dict selectByType(String dictType);

    int deleteById(Long dictId);

    int deletesById(Long[] dictIds);

    Dict selectDictAndDataByType(String dictType);

}
